Device for optically scanning and measuring an environment

ABSTRACT

A device for optically scanning and measuring an environment is provided. The device includes a movable scanner having at least one first projector for producing at least one uncoded first pattern on an object in the environment. The scanner includes at least one camera for recording images of the object provided with the pattern and a controller coupled to the first projector and the camera. The device further includes at least one second projector which projects a stationary uncoded second pattern on the object while the scanner is moved. Wherein the controller has a processor configured to determine a set of three-dimensional coordinates of points on a surface of the object from a set of images acquired by the camera based at least in part on the first pattern. The controller is further configured to register the set of images relative based in part on the stationary second pattern.

CROSS REFERENCE TO RELATED APPLICATIONS (IF APPLICABLE)

The present application claims priority to German Utility Model SerialNo. DE 20 2012 104 890.6 filed on Dec. 14, 2012 and to U.S. ProvisionalApplication Ser. No. 61/740,681 filed on Dec. 21, 2012, the contents ofboth of which are incorporated herein in their entirety.

BACKGROUND OF THE INVENTION

The subject matter disclosed herein relates to a scanner for opticallyscanning an object and in particular to a scanner that utilizes anuncoded structured light pattern.

Scanners are devices that use noncontact optical techniques to obtainthree-dimensional coordinate data of a surface of an object. The scannertypically includes a projector that projects light patterns on thesurface. The position of the projector is determined by means of aprojected, encoded pattern. Two (or more) cameras, the relativepositions and alignment of which are known or are determined, can recordimages of the surface with a further, uncoded pattern. Thethree-dimensional coordinates (of the points of the pattern) can bedetermined by means of mathematical methods which are known per se, suchas epipolar geometry.

From the games sector, scanners are known as tracking devices, in whicha projector projects an encoded light pattern onto the target to bepursued, such as the user who is playing, in order to then record thisencoded light pattern with a camera and to determine the coordinates ofthe user.

Systems have also been developed for scanning a scene, includingdistance measuring. The system, in its simplest form, comprises a cameraunit with two cameras, optionally with filters, for the stereoscopicregistration of a target area. An illumination unit is provided forgenerating an encoded pattern in the target area, such as by means of adiffractive optical element. This system also includes a synchronizingunit, which synchronizes the illumination unit and camera unit. Cameraunit and illumination unit can be set up in selectable relativepositions. Optionally, also two camera units or two illumination unitscan be used.

Accordingly, while existing scanners are suitable for their intendedpurposes, the need for improvement remains, particularly in providing ascanner that may acquire coordinate data using an uncoded light patternwhile being moved.

BRIEF DESCRIPTION OF THE INVENTION

Scanners that use structured light to determine three dimensionalcoordinates typically use either encoded or uncoded patterns. Comparedto an encoded pattern, an uncoded pattern can be produced more easily,for example as a regular pattern of light points. In embodiments of theinvention, two (or more) cameras are used in order to record images ofthe object which the uncoded pattern is projected to get unambiguouscorrespondences of the light points of the pattern, The two cameras andthe projector are arranged in a way that is not co-linear, but rather ina triangle arrangement. It is thus possible to use threeepipolar-geometry-relations, in order to determine the correspondencebetween the patterns in the camera images. When these correspondencesare known, the three-dimensional coordinates of the point cloud, i.e.the 3D-scan, can be determined.

In the exemplary embodiment, the uncoded pattern is not produced withinthe visible wavelength range, but within the infrared range (700nanometers-1 millimeter). The two cameras have a correspondingsensitiveness in this wavelength range, while scattered light and otherinterferences can be filtered out in the visible wavelength range. Acolor camera can be provided as third camera for color information, suchcamera recording images of the object to be scanned, too. Thethree-dimensional (3D) scan can be colored with the color informationthus obtained.

In the exemplary embodiment, the scanner is a portable hand-held scannerthat produces a plurality of 3D-scans of the same scene from differentpositions. Registration of the different 3D-scans in a common coordinatesystem is facilitated by a stationary pattern, which can be captured bydifferent 3D-scans. The stationary pattern rests with respect to theobject, when the hand-held scanner is moved and takes the differentpositions. The natural texture of the surface of the object and otherstructures, such as edges, can be used as stationary pattern, suchtexture being captured by means of a color camera as third camera, or aprojected pattern, which is produced by a separate (external) projector,is used (additionally or alternatively). This stationary pattern can bedistinguishable in terms of geometry, time or spectrum from the patternproduced by the hand-held scanner.

In one embodiment, a modular design with three (or more) cameras and aplurality of projectors, by means of which requirements which depend onthe application are fulfilled by projecting and recording images ofpatterns having different point densities and lateral resolution, isconceivable.

In embodiments of the invention, the production of the pattern can takeplace by means of deflecting methods, such as production by means ofdiffractive optical elements or micro-lenses (or single lasers), or byshading methods, for example the production by means of shutters,transparencies (as they would be used in a transparency projector) andother masks. The deflecting methods have the advantage of less lightgetting lost and consequently a higher intensity being available.

In embodiments of the invention, the hand-held scanner is designed as aportable scanner, i.e. it works at high speed and may be carried andoperated by a single person. It is, however, also possible to mount thehand-held scanner on a tripod (or on another stand), on a manuallymovable trolley (or another cart), or on an autonomously moving robot,i.e. that it is not carried by the user. In one embodiment, the scanneris held stationary by using another housing, for example without grippart. The notion “hand-held scanner” must consequently have a wideinterpretation, so that it comprises in general scanners which areconfigured as compact units and that may be moved by single person ormounted on a fixture.

In some embodiments of the invention, the operation of the hand-heldscanner can, in a sequence of frames or in a video, entail a ringclosure, in particular when an object O is circumnavigated. It isdesirable that the ring closure be recognized automatically and used forcorrecting potential measuring errors. For this purpose, preferably onefrustum each is formed for any frame out of the plurality of frames,such frustum containing a certain part of the points of thethree-dimensional point cloud which represents the 3D-scan, which isdetermined from the frame and assigned thereto. The intersection of thefrustum of the latest frame and of a plurality of the past frames isformed, wherein the past frustum having the major intersection ischosen. The ring closure can be recognized by means of searching,comparing and identifying features.

In order to reduce the amount of data to be saved and/or transferred bythe hand-held scanner (in a post-processing) an averaging may beperformed via adjacent frames, such as by dividing the two-dimensionallystructured amount of data up into groups of frames and averaging bymeans of the frames of the group.

According to yet another aspect of the invention, a device for opticallyscanning and measuring an environment is provided. The device includes amovable scanner having at least one first projector for producing atleast one uncoded first pattern on an object in the environment. Thescanner includes at least one camera for recording images of the objectprovided with the pattern and a controller coupled to the firstprojector and the camera. The device further includes at least onesecond projector which projects a stationary uncoded second pattern onthe object while the scanner is moved. Wherein the controller has aprocessor configured to determine a set of three-dimensional coordinatesof points on a surface of the object from a set of images acquired bythe camera based at least in part on the first pattern. The controlleris further configured to register the set of images relative based inpart on the stationary second pattern.

These and other advantages and features will become more apparent fromthe following description taken in conjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWING

The subject matter, which is regarded as the invention, is particularlypointed out and distinctly claimed in the claims at the conclusion ofthe specification. The foregoing and other features, and advantages ofthe invention are apparent from the following detailed description takenin conjunction with the accompanying drawings in which:

FIG. 1 shows a schematic illustration of the device,

FIG. 2 shows a schematic illustration of the production of a pattern bymeans of a diffractive optical element,

FIG. 3 shows a pattern and another pattern,

FIG. 4 shows a schematic illustration of projector plane, image plansand epipolar lines,

FIG. 5 shows a schematic illustration of an averaging, and

FIG. 6 shows a schematic illustration of a ring closure.

The detailed description explains embodiments of the invention, togetherwith advantages and features, by way of example with reference to thedrawings.

DETAILED DESCRIPTION OF THE INVENTION

Referring now to FIG. 1, a scanner 100 is provided as portable part of adevice for optically scanning and measuring an environment of thescanner 100. The scanner 100 has a base part 104, a grip part 106, whichprotrudes from the base part 104 and a head end 108, which is providedon the grip part 106. A user of the scanner 100 can hold the scanner 100at the grip part 106 and to align the scanner 100 toward the objects O.

A first camera 111 and a second camera 112 are arranged in the head end108, spaced apart at a predetermined distance to each other. Thealignments of the first camera 111 and of the second camera 112 to eachother are adjusted or adjustable in such a way that the fields of viewoverlap and stereoscopic images of the objects O are possible. If thealignments are fixed, there is a desirable overlapping range for aparticular application. With regard to precision, an overlapping rangesimilar to the projector—camera distances would be desirable. Dependingon typical environment situations, also a range of several decimeters ormeters may be desired. In an embodiment, the alignments can be adjustedby the user, for example by pivoting the cameras 111 and 112 in oppositesense, about axes of rotation that are parallel to the grip part 106.The alignment can be known to the scanner 100 at any time, if theadjusting process of the user is tracked, or the alignment is initiallyat random (and unknown), and is then made known to the scanner 100 bycalibration.

The first camera 111 and the second camera 112 may monochrome (i.e.sensitive to a narrow wavelength range). For example the cameras 111,112 may be monochrome by being provided with corresponding filters,which then filter out other wavelength ranges, including scatteredlight. It is desirable that this narrow wavelength range be within theinfrared range. In order to obtain color information on the objects O, acolor camera 113 may be arranged in the head end 108. In one embodiment,the color camera 113 is symmetrically aligned to the first camera 111and to the second camera 112, and arranged centrally therebetween. Thecolor camera 113 is thus sensitive in the visible wavelength range.

The scanner 100 may have a display and control unit 115. In oneembodiment, the display and control unit 115 is configured as a touchscreen. The display and control unit 115 is arranged at the head end108, on the side facing away from the cameras 111, 112 and in someembodiments color camera 113. The display and control unit 115 can beconfigured to be detachable. The cameras 111, 112, 113, as well as thedisplay and control unit 115 may be connected to a control andevaluation unit 118, which is arranged in the head end 108. The controland evaluation unit 118 may pre-process the data of the cameras 111,112, 113. In one embodiment, the display and control unit 115 mayprovide a visual display of 3D-scans images. In another embodiment, thedisplay and control unit 115 is omitted and the scanner 100 is operatedby means of a remote control unit, such as from a stationary or from aportable computer (PC, tablet, smartphone or the like) for example. Thisremote control unit is under substantially continuous connection (cabledor wireless) with the control and evaluation unit 118.

Data from the control and evaluation unit 118 may be transferred bymeans of radio communication (for ex-ample by means of WLAN to astationary computer) or a wired data connection, such as on the basepart 104 for example. The wired data connection may be, for example, astandardized interface for LAN, USB or the like, or another interface,as is described in commonly owned United States Patent Publication2010/0113170 entitled “Interface” which is incorporated herein byreference. In one embodiment, the data connection can be configured toprovide a portable storage medium (SD-card, USB-stick etc.). In oneembodiment, the power is supplied to the scanner 100 by a batteryarranged in base 104. An outlet may be provided for charging thebattery. In one embodiment, the battery may be interchangeable.

From the images recorded by the first camera 111 and by the secondcamera 112, three-dimensional data can be determined, such as in thecontrol and evaluation unit 118 for example. Thus the 3D-coordinates ofpoint on the objects O may be produced, such as by means ofphotogrammetry for example. It should be appreciated that objects O mayhave few structures and many smooth surfaces, so that generation of3D-scans from the scattered light of the objects O is difficult.

In one embodiment, a first projector 121 is therefore provided, which isconfigured in the base part 104 or the head end 108 and aligned incorrespondence with the two cameras 111, 112. The relative distance andthe relative alignment are pre-set or can be set by the user. The firstprojector 121 projects a pattern X onto the objects O to be scanned. Thepattern X does not need to be encoded (that is to say single-valued),but it is uncoded, for example periodically, that is to say multivalued.The multivaluedness is resolved by the use of the two cameras 111, 112.

In the exemplary embodiment, the uncoded pattern X is a point patterncomprising a regular arrangement of points in a grid. This grid patternmay be one hundred times one hundred points that are projected at anangle of approximately 50° to a distance of approx. 0.5 m to 5 m. Thepattern X may also be a line pattern or a combined pattern of points andlines, each of which is formed by tightly arranged light points. The twocameras 111, 112 project the pattern X in their respective image planesB111, B112, in each of which one photo sensor (for example CMOS or CCD)is arranged, in order to record the pattern X.

There is a relationship between the point density, the distance betweenthe first projector 121 and the object and the resolution that can beobtained with the produced pattern X. If only single images areavailable, fine structures of the object O can be examined with a higherpoint density, and coarse structures are examined with low pointdensities. It therefore desirable to be able to produce, in addition topattern X, at least one other pattern X′. Depending on the production ofthe patterns X, X′, a dynamic transition between the patterns and/or aspatial intermingling is possible. This allows the point density to beadapted to the structures of the object O.

In one embodiment a second projector 122, which is alignedcorrespondingly and can produce the other pattern X′, is configured inaddition to the first projector 121. In other embodiments, the firstprojector 121 can also produce, in addition to pattern X, the otherpattern X′, such as by offsetting the patterns relative to each otherwith respect to time and/or in another wavelength range. The secondpattern X′ may be a pattern which deviates from pattern X, such as apoint pattern with a regular arrangement of points having anotherdistance (grid length) to each other for example.

In another embodiment, the second pattern X′ constantly interferes withpattern X, for example with a different intensity. The first pattern Xthus has a first plurality of light points having a higher intensity atlarger distances and in between them, a second plurality of light pointshaving a lower intensity with smaller distances for example. Withpattern X having different intensities, the limited camera dynamics (ifthe exposure time is given, the light points are visible withoutoverexposure/underexposure only in a limited, combined distance andreflectivity area) can be overcome, and a larger dynamics range fordepth and intensity can be covered. It should be appreciated thatpattern X may have a higher periodicity, but it is still considered anuncoded pattern within the context of embodiments of the invention.

It is further conceivable that more than two patterns X, X′ may be used,for ex-ample a defined sequence of a plurality of patterns, which areproduced, for example, subsequently with regard to time.

As discussed above, in the exemplary embodiment, the patterns aremonochromatic. These monochromatic pattern(s) X (and X′) are produced bymeans of a diffractive optical element 124, which divides a light beamproduced by a laser in the wavelength range (infrared) of the twocameras 111, 112 in correspondence with the pattern X, without losingintensity. The lateral resolution is then limited only by the beamdiameter (i.e. the size of the points). Since the pattern(s) X (and X′)are produced within the infrared range, it is possible to both recordthe images of the color camera 113 without interference and to avoidsafety measures to protect eyes or the like. For the same purpose, thepattern X (and X′) could alternatively be produced in the ultravioletrange.

The two patterns X and X′ may also be produced with two diffractiveoptical elements, which are screened at different times or withdifferent wavelengths. With a time-variable diffractive optical element,it is possible to quickly (i.e. with approximately each frame) or slowly(for example manually controlled) change between the patterns X and X′,or pattern X can be adapted dynamically to the changing facts (withregard to the density of the light points and the reach of the projectedpattern X). A gradual transition between the patterns X and X′ isconceivable as well (fade-over). As an alternative to diffractiveoptical elements, arrays of microlenses or of single lasers can be used.Optionally, also a classical imaging by means of a mask, in particularof a transparency, is possible.

For reasons of energy efficiency and eye safety, the (first) projector121 produces the pattern X on the objects O only, when the cameras 111,112, 113 record images of the objects O which are provided with thepattern X. For this purpose, the two cameras 111, 112 and the projector121 (and if available the second projector 122) are synchronized (i.e.coordinated internally with each other) with regard to both, time andthe pattern X used (and, if available, X′). In the exemplary embodiment,each recording process starts by the first projector 121 producing thepattern X on to the object O, similar to a flash in photography, and thecameras 111, 112, 113 capturing the images of light reflected off of theobject O. Pairs of records (frames), one image each from each of the twocameras 111, 112 is obtained and a single image from the color camera113. The recording process can comprise one single frame (shot), or asequence of a plurality of frames (video). A trigger switch 126, bymeans of which such a shot or such a video can be triggered, is providedsuch as at the grip part 106 for example. After processing of the data,each frame then constitutes a 3D-scan, i.e. a point cloud in thethree-dimensional space containing three-dimensional coordinates ofpoints on the object O, in relative coordinate reference system of thescanner 100. In another embodiment, the recording process can betriggered by means of the above-named remote control unit.

In one embodiment, the first projector 121 and the second projector 122are not arranged co-linear to the two cameras 111, 112, but in atriangle arrangement. This arrangement of the two cameras 111, 112 andthe projectors makes the use of mathematic methods of optics, which areknown per se, as epipolar geometry, according to which one point in theimage plane B112 of the second camera 112 can be observed on a knownline, namely the epipolar line e, in the image plane B111 of the firstcamera 111, and vice versa, or a point which is produced by the firstprojector 121 from a projector level P121 can be observed on oneepipolar line e each, in the image planes B111, B112 of the two cameras111, 112.

In the exemplary at least three units, (projector 121 and the twocameras 111 and 112) are involved (i.e. proceeding from each of theunits), two stereo geometries each (with plenty of epipolar lines eeach) can be defined with the two other units. Thus unambiguous trianglerelations of points and epipolar lines e, from which the correspondenceof projections of the pattern X (and X′) in the two image levels B111,B112 may be determined. Due to the additional stereo geometry (comparedto a pair of cameras), considerably more of the points of the pattern,which otherwise cannot be distinguished, can be identified on anepipolar line e. The density of features can thus simultaneously behigh, and the size of the feature can be kept very low. It should beappreciated that with other methods using encoded patterns, the size ofthe feature has a lower limit, limiting the lateral resolution. If thecorrespondence has been determined, the three-dimensional coordinates ofthe points on the surface of the object O are determined for the 3D-scanby using triangulation principles.

In an embodiment, additional three-dimensional data may be gained bymeans of photogrammetry from several frames with different camerapositions, for example from the color camera 113 or from the part of thesignal of the cameras 111,112, which comes from the ambient light (i.e.from the natural texture of the environment). It can also beadvantageous, if the scanner 100 or another unit can illuminate theobject O, for example with white light or infrared light, such that notonly the parts of the object O which are illuminated by the pattern Oare visible, but also areas which are in between. In one embodiment,this illumination also illuminates the background. Such illumination ofthe object I is particularly suitable, if the data of the color camera113 shall be used already for making the 3D-scans (and not only for thecoloration thereof), and for calibrating the cameras 111, 112, iffilters are used to allow the capture of only a limited spectral range.

The scanning process also shows an aspect of time. Whereas, withstationary devices, a whole sequence of patterns can be projected andimages be recorded in order to determine one single 3D-scan, one 3D-scanis produced with each shot of the scanner 100. If a second projector 122or a further diffractive optical element 124 or at least a secondpattern X′ in addition to pattern X is provided for, it is possible bymeans of a suitable switching over to also record with one shot imageswith different patterns X and X′ consecutively. Thus the 3D-scan will beperformed at a higher resolution.

In order to obtain a 3D-scan of the object O, each shot/frame must beregistered, in other words the three-dimensional coordinates obtained ineach frame must be inserted in a common coordinate system. Registrationis possible, for example, by videogrammetry, i.e., for example,“structure from motion” (SFM) or “simultaneous localisation and mapping”(SLAM). The natural texture of the objects O can also be used for commonpoints of reference, or a stationary pattern Y can be produced. Thenatural texture can be captured by the color camera 113 in addition toobtaining the color information.

In one embodiment, the separate projector 130 projects the stationarypattern Y onto the objects to be scanned (i.e. a pattern similar topattern X or X′). While pattern X and X′ moves with the scanner 100, thepattern Y remains stationary relative to the scanner 100. Thusshots/frames of coordinate data are acquired from different positions ina common coordinate system. Since stationary pattern Y is visible in aplurality of images (frames) acquired by the cameras 111, 112, the3D-scans may be registered in relation to each other by means of thestationary pattern Y. The stationary pattern Y differs from pattern Xand X′ with regard to geometry or time or spectrum (or a combinationthereof). If it differs with regard to time, the stationary pattern Y isproduced at least in intervals of time, in which the pattern X andoptionally X′ is not produced (alternating or overlapping). If itdiffers with regard to spectrum, the stationary pattern Y is withinanother wavelength range as pattern X and optionally X′, so that thecameras 111 and 112 may be sensitive (i.e. provided with correspondingfilters) for the wavelength spectrum of pattern Y. The separateprojector 130 may be synchronized with the scanner 100, such that thetime and kind of the projected stationary pattern Y are known to thescanner 100.

Depending on the object O to be scanned, it might be appropriate, aftera plurality of 3D scans have been made, to take the separate projector130 to another side of the object O, such as an opposing side forexample. This allows the projector 130 to project a stationary pattern Yonto the surface from a different angle and shaded areas can thus beavoided. It is therefore desirable that the separate projector 130 beportable or movable and is correspondingly mounted, for example, on atripod or on a trolley (or another cart) or can be mounted thereon. Inone embodiment, a plurality of separate projectors 130 is used in orderto avoid shadowing features on the object I. A correspondingbuilding-block system is possible.

In one embodiment, automation is possible, i.e. the scanner 100 ismounted on a manually movable trolley (or on another cart), or on anautonomously moving robot, or can be mounted thereon. The scanner 100,which is no longer carried by the user, scans its environment in adefined manner by producing a video than by producing a sequence ofshots. Cameras and projectors may not be arranged in a co-linear manner.

In an embodiment, the scanner 100 can produce a video with a highdensity of frames, for example seventy (70) frames per second. Since thescanner 100, only moves a short distance between two frames, the videocontains redundant information: two frames which are adjacent withregard to time, differ only very slightly. In order to reduce the amountof data to be saved and/or to be transferred, suitable averagings in apost-processing may be used (FIG. 5). In a first averaging step, theframes F are divided into groups [F]i, with a plurality of frames pergroup [F]i around one key frame Fi each.

So-called voxels, which completely fill space as the sum of singlevolume elements, are known from 3D-computer graphics. Such structuresare frequently used in order to unite three-dimensional data fromdifferent perspectives in one point cloud. A disadvantage when recordingsurface data are the many remaining empty voxels, which must beprocessed in terms of data in some way.

In embodiments of the invention, data structures which are adapted tothe problem may be used. Within a group [F]i of considerably overlappingframes F, single measuring points still can be summarized very well andefficiently in a common two-dimensional data structure (grid structure),such as being optimized for surface data and very similar to atwo-dimensional image for example. The smaller storage capacity requiredpermits to initially save all captured measured values as a vector inthe two-dimensional data structure, such as gray-tone value/color anddistance to the scanner 100 for each of the pixels of the frames F ofthe group [F]i for example.

In a second averaging step, an averaging takes place within each group[F]i, in order to very simply eliminate faulty measurements. For suchaveraging (with regard to gray tones/colors and/or distances), only adefined part of the vector within the central range of the sortedmeasured values is taken. The central range can be distinguished bymeans of threshold values. Such averaging corresponds to a replacementof the group [F]i by a key frame Fi with averaged measured values,wherein the key frames Fi still show considerable overlapping. Eachmeasuring point which is gained in such a way is then carried on as apoint (corresponding to a three-dimensional vector) of thethree-dimensional overall point cloud.

In one embodiment, a third step is used where the measuring pointsgained by averaging can be brought together with data from another group[F]i, such as by Cartesian averaging for example.

Operation of the scanner 100 entails, in particular when an object O iscircumnavigated, that a ring closure might occur, i.e. after acquiring aseries of frames, the video (or the sequence of shots) shows the same orat least a very similar view. The ring closures could be recognizedimmediately, if it were possible to look at all available data, at anytime during the acquisition of the overall point cloud. The amount ofdata and the computing time resulting therefrom, however, doesn'ttypically allow this. A method is may be provided, by means of which itcan be rapidly determined, which data from earlier frame sequences isanalyzed, due to the ring closure. If all measurements were completelywithout faults (and the movement of the scanner 100 were sufficientlyregular), the ring closure would immediately result from theregistration of the 3D-scan in the common coordinate system. However,typically a fault in the data set result in an offset of two similarframes F and the resulting 3D scans. A possibility of automaticallyrecognizing the ring closure nevertheless (and to correct the datafault), is described in the following (FIG. 6).

A frustum (more precisely: viewing frustum) usually is atruncated-pyramid-shaped area of space, which extends from the imageplane, in correspondence with the viewing direction, into the infinite.In one embodiment, a frustum V is formed for each frame in a first step,such frustum comprising (at least approximately) 80% of the capturedpoints from the three-dimensional point cloud (i.e. a finite part of thearea of space of the assigned 3D scan), which is determined from theframe F. The latest frustum Vn is assigned to the latest frame Fn, whichwas recorded last. In a second step the latest frustum Vn is thencompared to the past frusta V by forming the intersection. The frustumout of the past frusta Vj, with which there is the largest intersection,is selected for carrying out an exacter analysis.

In a third step, within the latest frustum Vn and the selected frustumVj each, features, for example edges and corners, are looked for in amanner known per se. In a fourth step, the detected features arecompared to each other, for example with regard to their embeddedgeometry, and the coinciding features are identified. Depending on thedegree of coincidence, it is determined in a fifth step, whether thereis a ring closure or not.

The identification of the ring closure allows common features to begenerated from the identified, coinciding features. By means of methodsknown under the denomination “bundle adjustment”, the error ofmeasurement can be corrected in a sixth step. For example, the 3D scansmay be corrected up to a defined depth of penetration into space. Thethree-dimensional point cloud may be in some places and to a certaindegree displaced, so that an offset is eliminated in the frames, 3Dscans and frusta which are per se identical. If correction is notcompletely possible after this sixth step (with the “bundleadjustment”), a certain deviation of data and consequently a certainerror of measurement which cannot be corrected will still remain. Thisdeviation (i.e. the error which cannot be corrected) is a measure forthe quality of the measurements and of the data as a whole.

The movement of the scanner 100 and registration of the acquired framesand coordinate data may be determined by tracking where the scanner 100tracks the relative movement of its environment. If tracking gets lost,for example, if the scanner 100 has been moved too fast, there is asimple possibility of re-assuming tracking. For this purpose, the latestvideo image, as it is provided by the color camera 113, and the lastvideo still image from tracking provided by it, are represented side byside (or one above the other) on the display and control unit 115 forthe user. The user may then move the scanner 100 until the two imagescoincide.

While the invention has been described in detail in connection with onlya limited number of embodiments, it should be readily understood thatthe invention is not limited to such disclosed embodiments. Rather, theinvention can be modified to incorporate any number of variations,alterations, substitutions or equivalent arrangements not heretoforedescribed, but which are commensurate with the spirit and scope of theinvention. Additionally, while various embodiments of the invention havebeen described, it is to be understood that aspects of the invention mayinclude only some of the described embodiments. Accordingly, theinvention is not to be seen as limited by the foregoing description, butis only limited by the scope of the appended claims.

The invention claimed is:
 1. A device for optically scanning andmeasuring an environment comprising: a movable scanner having at leastone first projector for producing at least one uncoded first pattern onan object in the environment, the scanner having at least one camera forrecording images of the object provided with the pattern, and acontroller coupled to the at least one first projector and the at leastone camera; at least one second projector is provided which projects astationary uncoded second pattern on the object while the scanner ismoved; wherein the controller has a processor configured to determine aset of three-dimensional coordinates of points on a surface of theobject from a set of images acquired by the at least one camera based atleast in part on the first pattern, the controller further beingconfigured to register the set of images relative to each other based inpart on the stationary second pattern; and wherein the at least onecamera includes a first camera and a second camera spaced apart from thefirst camera, the first camera and second camera each having an imageplane, the first camera and second camera are further arranged toacquire images of the first pattern and stationary second pattern on theimage planes.
 2. A device for optically scanning and measuring anenvironment comprising: a movable scanner having at least one firstprojector for producing at least one uncoded first pattern on an objectin the environment, the scanner having at least one camera for recordingimages of the object provided with the pattern, and a controller coupledto the at least one first projector and the at least one camera; atleast one second projector is provided which projects a stationaryuncoded second pattern on the object while the scanner is moved; whereinthe controller has a processor configured to determine a set ofthree-dimensional coordinates of points on a surface of the object froma set of images acquired by the at least one camera based at least inpart on the first pattern, the controller further being configured toregister the set of images relative to each other based in part on thestationary second pattern; and wherein the controller is furtherconfigured to register the set of three-dimensional coordinates to acommon coordinate system based at least in part on the stationary secondpattern.
 3. The device according to claim 2, wherein the at least onesecond projector is movable from a first position to a second position.4. The device according to claim 2, wherein the at least one secondprojector includes a plurality of second projectors, each of theplurality of second projectors is configured to be spaced apart fromeach other about the object.
 5. The device according to claim 4, whereinthe plurality of second projectors includes a first projector configuredto be disposed on a first side of the object and a second projectorconfigured to be disposed on a second side of the object.